/* 登录容器 */
.login-container {
    background-color: var(--card-bg);
    width: 100%;
    max-width: 400px;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.login-container:hover {
    transform: translateY(-1px);
    box-shadow: var(--hover-shadow);
}

/* 登录头部 */
.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h1 {
    color: var(--primary-color);
    font-size: 28px;
    margin-bottom: 8px;
    font-weight: 600;
}

.login-header p {
    color: var(--icon-color);
    font-size: 14px;
}

/* 登录选项 */
.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.remember-me {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: var(--icon-color);
}

.remember-me input {
    margin-right: 8px;
    accent-color: var(--primary-color);
}

.forgot-password {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
}

.forgot-password:hover {
    text-decoration: underline;
}

/* 登录按钮 */
.login-btn {
    width: 100%;
    padding: 14px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.login-btn:hover {
    background-color: var(--secondary-color);
}

.login-btn:active {
    transform: translateY(1px);
}

.login-btn i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.login-btn:hover i {
    transform: translateX(3px);
}

/* 注册链接 */
.register-link {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: var(--icon-color);
}

.register-link a {
    color: var(--primary-color);
    text-decoration: none;
    margin-left: 5px;
}

.register-link a:hover {
    text-decoration: underline;
}

/* 验证码容器适配 */
.captcha-group .captcha-container {
    gap: 15px;
}
